define(["Zepto", 
        "underscore", 
        "Backbone", 
        "Handlebars",  
        "text!templates/faculty/facultylist.html" ,
        "views/faculty/facultylistview"
], function($, _, Backbone, Handlebars, template, FacultyListView) {
	
    var FacultyListPage = Backbone.View.extend({

        template: Handlebars.compile(template),
        
        render: function(eventName) {
        	
        	this.$el.html(this.template(this.model.toJSON()));
            this.listView = new FacultyListView({
                el: $('ul', this.el),
                model: this.model
            });
            this.listView.render();
            return this;
        }
        
    });
   

    return FacultyListPage;

});

